home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
util
/
rexx
/
Aminet.awnp.lha
/
Aminet.awnp
/
Install-Aminet.awnp
< prev
next >
Wrap
Text File
|
2000-04-18
|
2KB
|
125 lines
;
(set VerS "$VER: 'Install-Aminet.awnp' 1.9 By Bruce Steers")
(set Ver (substr VerS 28 3))
; Script created by Bruce Steers bsteers@btinternet.com
(set v39 (>= (/ (getversion "exec.library" (resident)) 65536) 39))
(set #needInst43 "You must use Installer version 43 or greater.")
(set path (pathonly @icon) )
(if (< (/ @installer-version 65536) 43)
(abort #needInst43)
)
(set info (cat "installing Aminet.awnp "Ver"\nPlease select a Dir to install to.\nNO drawer will be created"))
(complete 5)
(set dst
(copyfiles
(dest "SYS:Tools")
(source "Aminet.awnp")
(prompt info)
(help info "\n\n Also a settings file will be saved in the same dir.\n\n\n" @copyfiles-help)
(confirm)
(infos)
)
)
(complete 30)
(set lang
(askoptions
(prompt "Select Language catalogs to install\nEnglish is Built in.")
(help @askchoice-help)
(choices "Español")
(default 0)
)
)
(if (= lang 1)
(
(set cata (tackon path "catalogs/español/"))
(copyfiles
(source cata)
(dest "LOCALE:Catalogs/español/")
(all)
)
)
)
(set lang
(askoptions
(prompt "Select the language for the Readme files to install\n")
(help @askchoice-help)
(choices "English" "Español")
(default 1)
)
)
(complete 40)
(if (or (= lang 1) (= lang 3))
(
(set rme (tackon path "Docs/English/"))
(copyfiles
(dest "SYS:Tools")
(source rme)
(prompt "Select a dir to copy the readme file to.")
(help @copyfiles-help)
(confirm)
(infos)
(all)
)
)
)
(complete 50)
(if (or (= lang 2) (= lang 3))
(
(set rme (tackon path "Docs/Español/"))
(copyfiles
(dest "SYS:Tools")
(source rme)
(prompt "Select a dir to copy the leame file to.")
(help @copyfiles-help)
(confirm)
(infos)
(all)
)
)
)
(complete 80)
(copylib
(source "files/awnpipe-handler")
(dest "l:")
(prompt "installing AWNPipe-handler")
(help "installing AWNPipe-handler\n\n" @copylib-help)
(confirm)
)
(complete 60)
(copyfiles
(dest "Devs:dosdrivers/")
(source "files/awnpipe")
(prompt "installing AWNPipe: Descriptor file")
(help "installing AWNPipe:\n\n" @copylib-help)
(confirm)
(infos)
)
(complete 90)
(working ("Activating AWNPipe:"))
(run "C:assign AWNPipe: dismount")
(run "C:mount AWNPipe:")
(complete 99)
(set @default-dest (expandpath dst))
(complete 100)
(exit "\n\n" @app-name " Installaton is now over.\n")